#ifndef OBJECT_HPP
#define OBJECT_HPP

class Object {
    public:
        Object() { x = y = 0; };
        Object(int newx, int newy) { x = newx; y = newy; };
        Object(const Object& obj) { x = obj.x; y = obj.y; };
        int getX() { return x; };
        int getY() { return y; };
        void setX(int newx) { x = newx; };
        void setY(int newy) { y = newy; };
        Object operator=(const Object& rhs) { x = rhs.x; y = rhs.y; return *this; };
    protected:
        int x;
        int y;
};

#endif
